package org.zs.miracle.service.post.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.zs.miracle.common.base.dto.BaseQueryPageDTO;

@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class PostQueryDTO extends BaseQueryPageDTO {
  @Serial private static final long serialVersionUID = 1L;
  
  /**
   * 查询类别
   */
  @Schema(description = "查询关键词")
  private Byte keywords;
  
  /**
   * 查询地区
   */
  @Schema(description = "查询关键词")
  private String location;
}